@extends('plugin.hostserver.front.layout.base')
@section('content')
    <div id="pageTitle" class="HeaderAdjust" data-bg-src=""
         style="background-image: url(&quot;&quot;); margin-top: 220px;">
        <div class="container">
            <div class="row">
                <div class="col-md-6 col-md-offset-3">
                    <div class="section-title">
                      {{ $title }}
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div id="login">
        <div class="container">
            <form method="post"  class="loginForm" action="{{  plugin_route('hostserver.auth') }}" id="loginForm" novalidate="novalidate">
                @csrf
                <input type="hidden" name="type" value="login">
                <div class="form-group @error('email') has-error @enderror">
                    <label for="loginEmail">邮箱 *</label>
                    <input type="text" name="email" value="{{ old('email') }}" class="form-control"
                           id="email" placeholder="邮箱">
                    @error('email')

                    <span class="help-block">{{ $message }}</span>
                    @enderror
                </div>
                <div class="form-group  @error('password') has-error @enderror">
                    <label for="loginPassword">密码 *</label>
                    <input type="password" name="password" class="form-control"
                           id="password" placeholder="密码">
                    @error('password')
                    <span class="help-block">
                                       {{ $message }}
                                    </span>
                    @enderror
                </div>

                <label for="loginRemember" class="checkbox"><input type="checkbox" name="remember" id="loginRemember">记住登录</label>
                <p class="help-block clearfix">

                    <button class="btn submit-button" type="submit" id="regist">登录</button>
                    <a href="{{ plugin_route('hostserver.regist') }}"><i class="fa fa-fw fa-key"></i>还没有帐号 ?</a>
                    <a href="{{ plugin_route('hostserver.forget') }}">忘记密码</a>
                </p>

            </form>
        </div>
    </div>
@endsection